<?php
/**
* userintegralhistory.php
* 
* Create on 2016-08-29
* Create by CaoQiCheng
*/
namespace haibao\user\model\data;

/**
 * 用户登录表
 */
class UserIntegralHistory extends Base{
	
	/**
	 * 用户id
	 */
	public $UserId;
	
	/**
	 * 创建时间
	 */
	public $CreateTime;
	
	/**
	 * 操作对应的积分
	 */
	public $IntegralVal;
	
	/**
	 * 积分的类型
	 */
	public $IntegralType;
	
	
	public function __construct(){
		parent::__construct();
		$this->intField('UserId', 'UserId', true);
		$this->dateField('CreateTime', 'CreateTime', true);
		$this->intField('IntegralVal', 'IntegralVal', true);
		$this->intField('IntegralType', 'IntegralType', true);
		
		$this->setTableName('UserIntegralHistory');
	}
}